<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'ID_EMPRESA'); ?>
		<?php echo $form->textField($model,'ID_EMPRESA'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ID_REPRESENTANTE_LEGAL'); ?>
		<?php echo $form->textField($model,'ID_REPRESENTANTE_LEGAL'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'NOMBRE_RAZON_SOCIAL'); ?>
		<?php echo $form->textField($model,'NOMBRE_RAZON_SOCIAL',array('size'=>60,'maxlength'=>300)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'RFC'); ?>
		<?php echo $form->textField($model,'RFC',array('size'=>13,'maxlength'=>13)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'NSS'); ?>
		<?php echo $form->textField($model,'NSS',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'CURP'); ?>
		<?php echo $form->textField($model,'CURP',array('size'=>18,'maxlength'=>18)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'MORAL'); ?>
		<?php echo $form->textField($model,'MORAL'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'CALLE'); ?>
		<?php echo $form->textField($model,'CALLE',array('size'=>60,'maxlength'=>300)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'NUMERO_EXTERIOR'); ?>
		<?php echo $form->textField($model,'NUMERO_EXTERIOR',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'NUMERO_INTERIOR'); ?>
		<?php echo $form->textField($model,'NUMERO_INTERIOR',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'COLONIA'); ?>
		<?php echo $form->textField($model,'COLONIA',array('size'=>60,'maxlength'=>300)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ENTIDAD_FEDERATIVA'); ?>
		<?php echo $form->textField($model,'ENTIDAD_FEDERATIVA',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'LOCALIDAD'); ?>
		<?php echo $form->textField($model,'LOCALIDAD',array('size'=>60,'maxlength'=>100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'TELEFONO'); ?>
		<?php echo $form->textField($model,'TELEFONO',array('size'=>60,'maxlength'=>300)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'MUNICIPIO_DELEGACION'); ?>
		<?php echo $form->textField($model,'MUNICIPIO_DELEGACION',array('size'=>60,'maxlength'=>300)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'GIRO_PRINCIPAL'); ?>
		<?php echo $form->textField($model,'GIRO_PRINCIPAL',array('size'=>60,'maxlength'=>300)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'NUMERO_TRABAJADORES'); ?>
		<?php echo $form->textField($model,'NUMERO_TRABAJADORES'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'CODIGO_POSTAL'); ?>
		<?php echo $form->textField($model,'CODIGO_POSTAL'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'FAX'); ?>
		<?php echo $form->textField($model,'FAX',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'CORREO_ELECTRONICO'); ?>
		<?php echo $form->textField($model,'CORREO_ELECTRONICO',array('size'=>60,'maxlength'=>300)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ACTIVO'); ?>
		<?php echo $form->textField($model,'ACTIVO'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->